﻿<%@ Page Title="商品详细信息" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ChangeLookingOfGoods.aspx.cs" Inherits="Default2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  <style type="text/css">

    aside{
          height:500px;width:50%;
          float:right;padding-top:30px;margin-top:30px;
          border-style:solid; border-width:2px; border-color:darkgrey;border-radius:10px;
          background-color:aliceblue;
    }

    .FirstSelect{
            width:95%;height:40px;border-style:solid; border-width:2px;
            border-bottom-color:darkgrey;border-top-color:darkgrey;
            border-left-color:#FFFFFF;border-right-color:#FFFFFF;
            text-align:center;line-height:40px;
    }


    .select{ 
            width:95%;height:40px;border-style:solid; border-width:2px;
            border-bottom-color:darkgrey;border-top-color:#FFFFFF;
            border-left-color:#FFFFFF;border-right-color:#FFFFFF;
            text-align:center;line-height:40px;
    }

    a{text-decoration:none;color: #000000;}

   </style>


    <aside >
     <nav >
         <div class="FirstSelect">
             <a href="PersonalCenter.aspx" >基本信息</a>
         </div>

         <div class="select">
             <a href="ChangePassword.aspx" >修改密码</a>
         </div>
          
         <div class="select">
             <a href="ChangeInformation.aspx" >我发布的</a>
         </div >
         
         <div class="select">
            <a href="Order.aspx" >我的订单</a>
         </div>
         
         <div class="select">
            <a href="BrowsingFootprints.aspx" >浏览足迹</a>
         </div>
         
     </nav>
    </aside>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
   <style type="text/css">
     
    .panel{
           border-style:solid; border-width:3px; border-color:darkgrey;
           width:80%;height:500px;padding-top:30px;padding-left:20px;
           margin-top:30px;
           text-align:center;
    }
    
    .Table{
     margin:0 auto
    }

    .Table_tr {
            height: 70px;
     }


    .td2{
         text-align:left;
        }

    </style>

    <div class="panel">
     
     <table class="Table">
      <tr class="Table_tr">
        <td>商品名称：</td>
        <td class="td2">
            <asp:TextBox ID="GoodsName" runat="server" Width="167px"></asp:TextBox>
        </td>
        <td>
         <asp:RequiredFieldValidator ID="RequiredFieldValidator1" 
           runat="server" ErrorMessage="不能为空" ControlToValidate="GoodsName"></asp:RequiredFieldValidator>
        </td>
      </tr>

       <tr class="Table_tr">
         <td>商品描述：</td>
         <td class="td2">
             <asp:TextBox ID="GoodsDescription" runat="server" Height="87px" Width="312px" 
                 TextMode="MultiLine"></asp:TextBox>
         </td>
         <td>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator2" 
           runat="server" ErrorMessage="不能为空" ControlToValidate="GoodsDescription"></asp:RequiredFieldValidator>
         </td>
       </tr>

        <tr class="Table_tr">
          <td>价格范围：</td>
          <td class="td2">
              <asp:TextBox ID="PriceFloor" runat="server" Width="68px"></asp:TextBox> — 
              <asp:TextBox ID="PriceCap" runat="server" Width="68px"></asp:TextBox>元
          </td>
        </tr>

        <tr class="Table_tr">
         <td>商品分类：</td>
         <td class="td2">
             <asp:DropDownList ID="Type" runat="server" AppendDataBoundItems="true"
                  AutoPostBack="true" DataTextField="GoodsTypeName">
             </asp:DropDownList>
         </td>
        </tr>

        <tr class="Table_tr">
         <td></td>
         <td>
             <asp:Button ID="DeleteButton" runat="server" Text="删除" 
              style="background-color:aliceblue;border-color:white"  OnClick="DeleteButton_Click"
              OnClientClick="return confirm('确定要删除此出售信息吗？')"/>
         </td>
         <td>
             <asp:Button ID="SaveButton" runat="server" Text="保存修改" 
              style="background-color:aliceblue;border-color:white" OnClick="SaveButton_Click" />
         </td>
        </tr>
     
     </table>

    </div>

</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
</asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
</asp:Content>

